package com.ruoyi.system.domain.front;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 学生基本信息备份对象 student_info
 * 
 * @author ruoyi
 * @date 2021-04-07
 */
public class Login extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学号 */
    @NotBlank(message = "学号不为空")
    private String studentId;

    /** 密码 */
    @NotBlank(message = "密码不为空")
    private String Password;

    public void setStudentId(String studentId) 
    {
        this.studentId = studentId;
    }
    public String getStudentId() 
    {
        return studentId;
    }

    public void setPassword(String memoPassword)
    {
        this.Password = memoPassword;
    }

    public String getPassword()
    {
        return Password;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("Password", getPassword())
            .toString();
    }
}
